import java.util.Vector;
class Test {
    public static void main(String[] args) {
        Vector<String> vs = new Vector<String>(16, 8);
        vs.add("1");
        vs.add("2");
        vs.add(1, "3");
        System.out.println(vs.get(1));
        if (vs.contains("3"))
            System.out.println("\"3\" is an element of vs");
        vs.remove("3");
        System.out.println(vs.get(1));
    }
}